const express = require('express')
const router = express.Router()
const repair_handler = require('../router_handler/repair_handler')

// 维修分类
router.get('/category', repair_handler.getCategory)

// 获取维修列表
router.get('/categorylist', repair_handler.getCategoryList)

// 获取维修列表
router.get('/categorylist/:category_id', repair_handler.getCategoryListForId)

// 获取维修详细
router.get('/serviceitem/:id', repair_handler.getServiceItem)

// 获取维修项目列表
router.get('/serviceclassify/:serviceId/:classify', repair_handler.getServiceClassify)

// 获取搜索列表
router.get('/search', repair_handler.getSearchList)


module.exports = router